<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1 align="center">1级标题</h1> 
    <h2 align="center">2级标题</h2> 
    <h3 align="right">3级标题</h3> 
    <h4 align="right">4级标题</h4> 
    <h5 align="right">5级标题</h5> 
    <h6 align="left">6级标题</h6> 
</body>
</html>